﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="nueva_persona.aspx.cs" Inherits="nueva_persona" Title="Protocolo" EnableSessionState="ReadOnly" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <strong><span style="color: #003399"><em class="skin1_titulo">
        <br />
    </em></span></strong><span class="skin1_titulo">REGISTRARSE EN EL SISTEMA.<br />
        <br />
    </span>
    <asp:Label ID="Label9" CssClass="skin1_txtoriginal" runat="server" Text=" Para registrase en el sistema debe llenar los siguientes &#13;&#10;    datos en el espacio en que está en blanco,luego debe presionar un click en el botón aceptar si esta conforme, o cancelar de lo contrario." ForeColor="Black" Width="404px" ></asp:Label><br />
    <br />
    <asp:Label ID="Label13" runat="server" Text="(*) Campo Obligatorio" CssClass="skin1_txtbold" ForeColor="Transparent"></asp:Label>&nbsp;<br />
    <asp:Label ID="Respuesta" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><br />
    <asp:Panel ID="Panel1" runat="server" Height="214px" Width="489px">
        <table >
            <tr>
                <td style="width: 123px; height: 40px; background-color: gainsboro; text-align: right;" align="center" valign="middle" class="skin1_txtbold">
                    (*) Nombre: &nbsp;</td>
                <td style="background-color: gainsboro; width: 280px; height: 40px; text-align: left;" valign="middle">
                <asp:TextBox ID="Nombre1" runat="server" BackColor="White" Width="263px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="nombre" runat="server" ControlToValidate="Nombre1" Font-Size="X-Small" Width="177px" ValidationGroup="Aceptar">Debe colocar su nombre</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="center" class="skin1_txtbold">
                    Seg. Nombre:</td>
                <td style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;" valign="middle">
                <asp:TextBox ID="Nombre2" runat="server" Width="263px" BackColor="White"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" align="center" valign="middle" class="skin1_txtbold">
                    (*) Apellido:</td>
                <td align="center" valign="middle" style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;">
                <asp:TextBox ID="Apellido1" runat="server" BackColor="White" Width="263px" ValidationGroup="Aceptar"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
        ControlToValidate="Apellido1" Font-Bold="False" Font-Size="X-Small" Width="181px" ValidationGroup="Aceptar">Debe colocar su apellido</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="center" class="skin1_txtbold">
                    Seg. Apellido:</td>
                <td style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;" valign="middle">
                <asp:TextBox ID="Apellido2" runat="server" BackColor="White" Width="263px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="right" class="skin1_txtbold">
                    (*) Correo:<br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Correo" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ValidationGroup="Aceptar" Font-Size="XX-Small">Correo invalido.</asp:RegularExpressionValidator></td>
                <td valign="middle" style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;">
                    <asp:TextBox ID="Correo" runat="server" BackColor="White" Width="263px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
        ControlToValidate="Correo" ErrorMessage="Debe colocar su dirección de correo" Font-Size="X-Small" Width="273px" ValidationGroup="Aceptar">Debe colocar su dirección de correo</asp:RequiredFieldValidator>&nbsp;
                </td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="center" class="skin1_txtbold">
                    (*) Login:</td>
                <td style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;" valign="middle">
                <asp:TextBox ID="Login" runat="server" BackColor="White" Width="263px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
        ControlToValidate="Login" Font-Size="X-Small" Width="266px" ValidationGroup="Aceptar">Debe colocar el nombre de usuario</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="center" class="skin1_txtbold">
                    (*) Password:</td>
                <td style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;" valign="middle" align="center">
                <asp:TextBox ID="Pass" runat="server" Width="263px" BackColor="White" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
        ControlToValidate="Pass" Font-Size="X-Small" Width="161px" ValidationGroup="Aceptar">Debe introducir la clave</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 123px; height: 40px; background-color: #dcdcdc; text-align: right;" valign="middle" align="center">
                    <strong>(*) Cedula:<br />
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="cedula"
                            ErrorMessage="RegularExpressionValidator" Font-Bold="False" Font-Size="XX-Small"
                            ValidationExpression="(\d)+">Cédula invalida.</asp:RegularExpressionValidator></strong></td>
                <td style="background-color: #dcdcdc; width: 280px; height: 40px; text-align: left;" valign="middle">
                <asp:TextBox ID="cedula" runat="server" BackColor="White" MaxLength="9" Width="155px"></asp:TextBox>&nbsp;<br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="cedula"
                        ErrorMessage="RequiredFieldValidator" Font-Size="XX-Small" ValidationGroup="Aceptar">Debe indicar la cédula.</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="center" style="width: 123px; height: 41px; background-color: #dcdcdc; text-align: right;"
                    valign="middle" class="skin1_txtbold">
                    (*) Tipo Usuario:</td>
                <td style="width: 280px; background-color: #dcdcdc; height: 41px; text-align: left;" valign="middle">
                    <asp:DropDownList ID="rol" runat="server" OnSelectedIndexChanged="Tipousuario_SelectedIndexChanged" AutoPostBack="True">
                        <asp:ListItem>-- Seleccione --</asp:ListItem>
                        <asp:ListItem>Estudiante</asp:ListItem>
                        <asp:ListItem>Organizador</asp:ListItem>
                    </asp:DropDownList>&nbsp;<br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="rol"
                        Font-Size="XX-Small" InitialValue="-- Seleccione --" ValidationGroup="Aceptar">Debe indicar un tipo de usuario.</asp:RequiredFieldValidator></td>
            </tr>
            
        </table>
        <asp:Panel id="Panel_estudiante" runat="server" Width="125px" Height="50px"><TABLE style="WIDTH: 411px" id="testudiante" border=0><TBODY>
            <tr>
                <td align="center" style="font-weight: bold; width: 118px; height: 49px; background-color: #dcdcdc; text-align: right;" class="skin1_txtbold">
                    (*) Dirección:</td>
                <td align="center" style="font-weight: bold; width: 163px; height: 49px; background-color: #dcdcdc; text-align: left;"
                    valign="middle">
                    <asp:TextBox ID="direccion" runat="server" Width="263px" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="direccion"
                        ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" ValidationGroup="Aceptar">Debe introducir su dirección.</asp:RequiredFieldValidator></td>
            </tr>
            <TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
                (*) Expediente:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc" vAlign=middle align=center><asp:TextBox id="Exp" runat="server" Width="263px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Exp"
                ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" ValidationGroup="Aceptar">Debe indicar su expediente.</asp:RequiredFieldValidator></TD></TR><TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
                    (*) Carrera:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: left;" vAlign=middle align=center><asp:TextBox id="Carrera" runat="server" Width="263px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Carrera"
                ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" ValidationGroup="Aceptar">Debe indicar su carrera</asp:RequiredFieldValidator></TD></TR><TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
                    (*) Año/Semestre:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: left;" vAlign=middle align=center><asp:DropDownList id="Asem" runat="server" Width="263px"><asp:ListItem>-- Seleccione --</asp:ListItem>
<asp:ListItem>1er A&#241;o</asp:ListItem>
<asp:ListItem>1er Semestre</asp:ListItem>
                    <asp:ListItem>2do A&#241;o</asp:ListItem>
                    <asp:ListItem>3er A&#241;o</asp:ListItem>
                    <asp:ListItem>4to A&#241;o</asp:ListItem>
                    <asp:ListItem>5to A&#241;o</asp:ListItem>
                    <asp:ListItem>2do Semestre</asp:ListItem>
                    <asp:ListItem>3er Semestre</asp:ListItem>
                    <asp:ListItem>4to Semestre</asp:ListItem>
                    <asp:ListItem>5to Semestre</asp:ListItem>
                    <asp:ListItem>6to Semestre</asp:ListItem>
                    <asp:ListItem>7mo Semestre</asp:ListItem>
                    <asp:ListItem>8vo Semestre</asp:ListItem>
                    <asp:ListItem>9no Semestre</asp:ListItem>
                    <asp:ListItem>10mo Semestre</asp:ListItem>
</asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="Asem"
                ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" InitialValue="-- Seleccione --"
                ValidationGroup="Aceptar" Width="233px">Debe indicar el regimen de su carrera.</asp:RequiredFieldValidator></TD></TR><TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
                    Alergias:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc" vAlign=middle align=center><asp:TextBox id="Alergias" runat="server" Width="263px" TextMode="MultiLine"></asp:TextBox> </TD></TR><TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
                    (*) Vehiculo:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: left;" vAlign=middle align=center><asp:DropDownList id="Vehiculo" runat="server" Width="263px"><asp:ListItem>-- Seleccione --</asp:ListItem>
<asp:ListItem>Si</asp:ListItem>
<asp:ListItem>No</asp:ListItem>
</asp:DropDownList>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="Vehiculo"
        ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" InitialValue="-- Seleccione --"
        ValidationGroup="Aceptar">Debe indicar si posee carro.</asp:RequiredFieldValidator></TD></TR><TR><TD style="FONT-WEIGHT: bold; WIDTH: 118px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" align=center class="skin1_txtbold">
            (*) Internet:</TD><TD style="FONT-WEIGHT: bold; WIDTH: 163px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc" vAlign=middle align=center><asp:DropDownList id="Internet" runat="server" Width="263px"><asp:ListItem>-- Seleccione --</asp:ListItem>
<asp:ListItem>Si</asp:ListItem>
<asp:ListItem>No</asp:ListItem>
</asp:DropDownList>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="Internet"
        ErrorMessage="RequiredFieldValidator" Font-Bold="False" Font-Size="X-Small" InitialValue="-- Seleccione --"
        ValidationGroup="Aceptar">Debe indicar si tiene internet</asp:RequiredFieldValidator></TD></TR></TBODY></TABLE></asp:Panel> <asp:Panel id="Panel_organizador" runat="server" Width="85px" Height="50px" HorizontalAlign="Center"><TABLE style="WIDTH: 411px; text-align: center;" id="torganizador" border=0><TBODY><TR><TD style="FONT-WEIGHT: bold; WIDTH: 120px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" class="skin1_txtbold">
            (*)Interno/Externo:</TD><TD style="BACKGROUND-COLOR: #dcdcdc; width: 274px; text-align: left;" vAlign=middle align="center"><asp:DropDownList id="IntExt" runat="server" Width="263px" AutoPostBack="True" OnSelectedIndexChanged="IntExt_SelectedIndexChanged"><asp:ListItem Selected="True">-- Seleccione --</asp:ListItem>
<asp:ListItem Value="Int">Interno</asp:ListItem>
<asp:ListItem Value="Ext">Externo</asp:ListItem>
</asp:DropDownList> 
    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="IntExt"
        ErrorMessage="RequiredFieldValidator" Font-Size="X-Small" InitialValue="-- Seleccione --"
        ValidationGroup="Aceptar">Debe indicar el tipo de organizador.</asp:RequiredFieldValidator></TD></TR></TBODY></TABLE>
            <asp:Panel ID="Panelinterno" runat="server" Height="50px" Width="399px">
                <table style="width: 411px">
                    <tr>
                        <TD style="FONT-WEIGHT: bold; WIDTH: 119px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" class="skin1_txtbold">
                            (*) Dependencia:</TD><TD style="BACKGROUND-COLOR: #dcdcdc; width: 272px; text-align: left;" vAlign=middle align="center"><asp:TextBox id="Dependencia" runat="server" Width="263px"></asp:TextBox><BR />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="Dependencia"
        ErrorMessage="RequiredFieldValidator" Font-Size="X-Small" ValidationGroup="Aceptar">Debe indicar la dependencia.</asp:RequiredFieldValidator></TD>
                    </tr>
                    <tr>
                        <TD style="FONT-WEIGHT: bold; WIDTH: 119px; HEIGHT: 49px; BACKGROUND-COLOR: #dcdcdc; text-align: right;" class="skin1_txtbold">
                            (*)
                            Extensión UCAB:<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="extucab"
                                ErrorMessage="RegularExpressionValidator" Font-Bold="False" Font-Size="XX-Small"
                                ValidationExpression="(\d)+">Extensión invalida.</asp:RegularExpressionValidator></TD><TD style="BACKGROUND-COLOR: #dcdcdc; width: 272px; text-align: left;" vAlign=middle align="center"><asp:TextBox id="extucab" runat="server" Width="67px"></asp:TextBox> <BR />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="Dependencia"
        ErrorMessage="RequiredFieldValidator" Font-Size="X-Small" ValidationGroup="Aceptar">Debe indicar la extension de la universidad.</asp:RequiredFieldValidator></TD>
                    </tr>
                </table>
            </asp:Panel>
        </asp:Panel> 
        
        
    </asp:Panel>
    <asp:Label ID="Respuesta1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><br />
    <asp:Button ID="Button1" runat="server" Text="Registrarme" OnClick="Button1_Click" ValidationGroup="Aceptar" />
    &nbsp; &nbsp; &nbsp; &nbsp;
    <asp:Button ID="Button2" runat="server" Text="Cancelar" OnClick="Button2_Click" /><br />
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>